@charset "UTF-8";
.oni-dropdown {
  font: normal 12px/1.5 tahoma, arial, 'Hiragino Sans GB', '\5b8b\4f53', sans-serif; }

/*
这是每个都组件都应该引用的部分
*/
.oni-dropdown {
  display: inline-block;
  vertical-align: middle;
  *display: inline;
  *zoom: 1;
  outline: none; }
  .oni-dropdown .oni-dropdown-source {
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer; }
    .oni-dropdown .oni-dropdown-source .oni-dropdown-input {
      display: inline-block;
      vertical-align: middle;
      *display: inline;
      *zoom: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      overflow: hidden;
      height: 18px;
      padding: 3px 21px 3px 6px;
      word-break: normal;
      word-wrap: normal; }
  .oni-dropdown .oni-icon {
    cursor: pointer;
    font-size: 12px;
    vertical-align: baseline; }
  .oni-dropdown .oni-dropdown-icon {
    display: none;
    color: #b5b5b5;
    cursor: pointer;
    padding: 0 6px;
    position: absolute;
    right: 0;
    text-align: center;
    top: -21px; }
  .oni-dropdown .oni-dropdown-icon-wrap {
    display: block;
    position: relative;
    height: 0; }
    .oni-dropdown .oni-dropdown-icon-wrap .oni-icon-angle-down, .oni-dropdown .oni-dropdown-icon-wrap .oni-icon-angle-up {
      display: block; }
  .oni-dropdown .oni-dropdown-menu-inner {
    -webkit-box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.1);
    -o-box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border: 1px solid #d4d4d4;
    overflow-y: scroll;
    padding: 3px 0; }
    .oni-dropdown .oni-dropdown-menu-inner .oni-dropdown-state-disabled {
      border-color: #D9D9D9;
      background-color: #F5F5F5;
      color: #999; }
    .oni-dropdown .oni-dropdown-menu-inner .oni-dropdown-state-hover {
      border-color: #f8f8f8;
      background-color: #f8f8f8;
      color: #000; }
    .oni-dropdown .oni-dropdown-menu-inner .oni-dropdown-state-active {
      border-color: #3775c0;
      background-color: #3775c0;
      color: #fff; }
      .oni-dropdown .oni-dropdown-menu-inner .oni-dropdown-state-active .oni-icon {
        color: #fff; }
  .oni-dropdown .oni-dropdown-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    *zoom: 1;
    width: 100%;
    padding: 3px 0;
    height: 24px;
    line-height: 24px;
    text-indent: 20px;
    cursor: pointer;
    word-break: normal;
    word-wrap: normal; }
    .oni-dropdown .oni-dropdown-item.oni-dropdown-group {
      font-size: 14px;
      font-weight: bold;
      text-indent: 10px; }
    .oni-dropdown .oni-dropdown-item.oni-dropdown-divider {
      border-top: 1px solid #f2f2f2; }

.oni-dropdown-menu {
  display: none;
  left: 0;
  position: absolute;
  top: -1px;
  width: 100%;
  _width: auto !important;
  z-index: 1001; }

.oni-dropdown-state-hover .oni-dropdown-source {
  border-color: #999; }

.oni-dropdown-state-focus .oni-dropdown-source {
  border-color: #3775c0; }

.oni-dropdown-state-disabled .oni-dropdown-source {
  background-color: #F5F5F5;
  border-color: #D9D9D9;
  color: #ccc;
  cursor: default; }
.oni-dropdown-state-disabled .oni-dropdown-icon {
  cursor: default; }

.oni-state-small .oni-dropdown-source {
  border-radius: 2px; }
.oni-state-small .oni-dropdown-input {
  padding-top: 1px;
  padding-bottom: 1px; }
.oni-state-small .oni-dropdown-icon {
  top: -19px; }

.oni-dropdown-state-error .oni-dropdown-source, .oni-dropdown-state-error:hover .oni-dropdown-source {
  border-color: #ff8888; }
